package com.srd.phone.activity;

import android.annotation.TargetApi;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.widget.CheckBox;
import android.widget.RelativeLayout;

import com.shengrongdai.srd.R;

/**
 * 我的消息
 */
public class MyMessageActivity extends BaseActivity implements  View.OnClickListener {

    private RelativeLayout rl_message_center;
    private CheckBox cb_swicher;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_my_message);

        initView();
        initData();
    }

    @TargetApi(Build.VERSION_CODES.JELLY_BEAN)
    public void initView() {
        super.initView();
        tv_common_title.setText("我的消息");
        rl_message_center = (RelativeLayout)findViewById(R.id.rl_message_center);
        rl_message_center.setOnClickListener(this);

        cb_swicher = (CheckBox)findViewById(R.id.cb_swicher);
    }

    @Override
    public void initData() {}

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.rl_message_center:
                gotoActivity(MesListActivity.class);  // 消息列表
                break;

            case R.id.cb_swicher:

                break;

        }
    }


}